<%@ Page Title="Create Board" Language="C#" MasterPageFile="~/Admin/AdminDefault.master" AutoEventWireup="true" CodeFile="CreateBoard.aspx.cs" Inherits="Admin_Boards_CreateBoard" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
   <br />    
   <div class="sectiontitle">Add & Edit Board</div>
   <p> </p>
   <asp:Label CssClass="alarm" ID="lblResult" EnableViewState ="false" Text="" runat="server" Visible="false" />
   <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
        ValidationGroup="BoardValidation" HeaderText="Errors:" 
        EnableViewState="False" />
   
   <p> </p>
   
   <div>
        <table>
            <tr>
                <td><asp:Label ID="Label1" AssociatedControlID="txtBoardCode" runat="server" Text="Board Code:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtBoardCode" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtBoardCode" runat="server" ErrorMessage="Board Code Cannot Be Empty." ValidationGroup="BoardValidation">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" AssociatedControlID="ddlBoardType" runat="server" Text="Board Type:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlBoardType" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2"><asp:CheckBox ID="chkOpen" runat="server" Text="Is Open" /></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:LinkButton ID="lBtnSave" runat="server" onclick="lBtnSave_Click" ValidationGroup="BoardValidation">Save</asp:LinkButton>
                </td>
            </tr>
        </table>
   </div>
</asp:Content>


